package oop;


/**
 * @author chihb
 * @create-time 2024/6/28 21:55
 * @description
 */
public class Outer {
    private int age=99;
    private static String sex;
    public class Inner{
        private String name;
        public static String schoolName;

        private int age=88;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void test(){
            System.out.println(age);
            System.out.println(sex);
            int age=66;
            System.out.println(age);//66
            System.out.println(this.age);//88
            System.out.println(Outer.this.age);//99

        }

    }
}
